<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>添加商品类型</title>
	<hdjs/>
	<js file="__CONTROL_TPL__/Js/field.js">
</head>
<body>
	<div class="menu_list">
		<ul>
			<li><a href="{|U:'GoodsType/index'}" >商品类型</a></li>
			<li><a href="{|U:add,array('gt_id'=>$_GET['gt_id'])}" class="action">添加属性</a></li>
			<li><a href="{|U:index,array('gt_id'=>$_GET['gt_id'])}">现有属性</a></li>
		</ul>
	</div>
	<form action="" method="post">
		<input type="hidden" name="gt_id" value="{$gt_id}">
		<div class="title-header">添加商品属性</div>
		<table class="table1 hd-form">
			<tr>
				<th class="w100">属性名</th>
				<td><input type="text" name="attr_name" style="heigth:30px;"></td>
			</tr>
			<tr>
				<th class="w50">类型</th>
				<td><input type="radio" name="is_spec" value="0" checked=""> 普通属性 
					<input type="radio" name="is_spec" value="1"> 规格
				</td>
			</tr>
			<tr>
				<th class="w50">显示类型</th>
				<td>
					<select name="show_type" id="show_type" >
						<option value="" checked="">===请选择===</option>
						<option value="text">文本框</option>
						<option value="dropdown">下拉列表</option>
						<option value="radio">单选框</option>
						<option value="checkbox">复选框</option>
						<option value="textarea">文本域</option>
					</select>
				</td>
			</tr>
		</table>
		<div id="showField"></div>
		<input type="submit" value="添加" name="submit" class="hd-success position-bottom" style="margin-left:30px;">
	</form>
	
</body>
</html>